package com.j1903.service.impl;
import java.util.List;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.j1903.bean.Goods;
import com.j1903.mapper.GoodsMapper;
import com.j1903.service.GoodsService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author fjj
 * @since 2021-12-13
 */
@Service
public class GoodsServiceImpl extends ServiceImpl<GoodsMapper, Goods> implements GoodsService {
        @Resource
        private GoodsMapper  goodsDao;
        @Override
        public List<Goods> lists(Goods obj){
            return  goodsDao.lists(obj);
        }
        @Override
        public IPage<Goods> pages(IPage<Goods> page, Goods obj){
            return  goodsDao.pages(page,obj);
        }


}
